home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000824-20010305
/
000237_news@columbia.edu _Fri Feb 2 15:15:03 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-03-05
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA14717
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 2 Feb 2001 15:15:03 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA16164
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 2 Feb 2001 15:15:01 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17840
for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 15:03:57 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jrd@cc.usu.edu (Joe Doupnik)
Subject: Re: K95 differences with DOS product - security issue?
Message-ID: <d65xrMxqAaWw@cc.usu.edu>
Date: 2 Feb 01 12:39:35 MDT
Organization: Utah State University
To: kermit.misc@columbia.edu
In article <95esnf$c9m$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
> In article <0dCe6.1760$wa5.45285522@news.randori.com>,
> bpark <bparkbpark@hotmail.com> wrote:
> : Talking to a POS system that runs in host mode I can do the following with
> : 3.14 "rem cd c:\database" and it works.
> :
> : Using K95 1.1.20, I get "-Unable to change directory"
> :
> : Some directories can be gotten to using either package.
> :
> : This occurs whether doing this over a modem or a null modem connection.
> :
> : I have no problem believing that this is keyed to some sort of
> : privilege/security/access issue coded in by the POS writers but am curious
> : as to how the default 3.14 package gets by it but the 95 doesn't.
> :
> This is the result of the unfortunate coincidence that "\" is both the
> DOS/Windows directory separator and Kermit's command "escape" character.
> (Almost) anytime the command parser of K95 (and C-Kermit, same parser)
> see "\" in a command, they treat it as a signal that a variable or other
> special quantity follows, which is to be evaluated before it is used.
> The parsing rules in MS-DOS Kermit are similar, but subtly different,
> since it is built from an entirely separate code base.
>
> Of course K95 gives you some options for working around the problem,
> including:
>
> 1. Double any backslash that is to be taken literally:
>
> rem cd c:\\database
>
> 2. Put the pathname in a variable and then refer to the variable:
>
> define path c:\database
> rem cd \m(path)
>
> 3. Temporarily disable backslash processing:
>
> set command quoting off
> rem cd c:\database
> set command quoting on
>
> - Frank
---------
In addition, MSK treats these DOS command.com issues by having
command.com execute them. In so doing MSK tries to preserve the syntax
of the command line, in so far as it can, and it thus need not understand
details of the command arguments. I believe K95 tries to perform the
commands using its own code.
Joe D.